<?php

namespace app\index\validate;

use think\Validate;

class Login extends validate
{
    protected $rule =   [
        'login'  => 'require',
        'password'   => 'require'
    ];

    protected $message  =   [
        'login' => '必须填写登录名',
        'password'     => '必须填写密码'
    ];
}
